﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="ModifyConversionTable.aspx.vb" Inherits="Staarship.ModifyConversionTable" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select Category&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:DropDownList ID="ddl_Categories" runat="server" AutoPostBack="True" DataSourceID="CategoriesDataSource" DataTextField="UnitType" DataValueField="UnitType">
    </asp:DropDownList>
    <asp:SqlDataSource ID="CategoriesDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:StaarshipConnectionString %>" ProviderName="<%$ ConnectionStrings:StaarshipConnectionString.ProviderName %>" SelectCommand="SELECT [UnitType] FROM [Categories]"></asp:SqlDataSource>
    <br />
    From Unit&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="tb_FromUnit" runat="server"></asp:TextBox>
    <br />
    <br />
    To Unit&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="tb_ToUnit" runat="server"></asp:TextBox>
    <br />
    <br />
    Multiplier&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="tb_Multiplier" runat="server"></asp:TextBox>
    <br />
    <br />
    <asp:Button ID="btn_AddToDb" runat="server" Text="Add to Database" />
</asp:Content>
